package com.edu.config;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringBootConfiguration;

/**
 * @ProjectName: springboot-project36
 * @Titile: MyBatisConfig
 * @Author: Administrator
 * @Description: mybatis配置类
 */
@SpringBootConfiguration //配置类注解：项目启动就会加载
@MapperScan("com.edu.mapper") //包扫描注解：让mybatis去扫描指定的包下的接口，生成实现类：代理模式
public class MyBatisConfig {
}
